/**
 * 2009-11-22 下午03:29:22 
 * esignature
 * com.smc.action.hospital
 * AbstractHospitalAction
 */
package com.smc.action.hospital;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts2.interceptor.ServletRequestAware;

import com.opensymphony.xwork2.ActionSupport;
import com.smc.domain.model.Hospital;
import com.smc.server.HospitalService;

/**
 * @author chenheng
 * @version 0.0.1
 * 表现层医院抽象控制类
 */
public class AbstractHospitalAction extends ActionSupport implements ServletRequestAware {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1009475063894268389L;
	/**
	 * 医院服务
	 */
	protected HospitalService hospitalService ;
	/**
	 * 医院
	 */
	protected Hospital hospital ;
	/**
	 * 医院列表
	 */
	protected List<Hospital> hospitalList ; 
	protected HttpServletRequest request ;
	
	
	public List<Hospital> getHospitalList() {
		return hospitalList;
	}
	public void setHospitalList(List<Hospital> hospitalList) {
		this.hospitalList = hospitalList;
	}
	public Hospital getHospital() {
		return hospital;
	}
	public void setHospital(Hospital hospital) {
		this.hospital = hospital;
	}
	public HospitalService getHospitalService() {
		return hospitalService;
	}
	public void setHospitalService(HospitalService hospitalService) {
		this.hospitalService = hospitalService;
	}
	public void setServletRequest(HttpServletRequest request) {
		this.request = request ;
	}
}
